package o.gwtp.editor.client;

import o.gwtp.editor.client.gin.EditorGinjector;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.gwtplatform.mvp.client.DelayedBindRegistry;

/**
 * @author Olivier Monaco
 */
public class Editor implements EntryPoint {
  public final EditorGinjector ginjector = GWT.create(EditorGinjector.class);

  public void onModuleLoad() {
    DelayedBindRegistry.bind(ginjector);
    ginjector.getPlaceManager().revealCurrentPlace();
  }
}
